package top.zsyle.system.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import top.zsyle.basic.service.impl.BaseServiceImpl;
import top.zsyle.system.domain.DictionaryDetail;
import top.zsyle.system.domain.DictionaryType;
import top.zsyle.system.mapper.DictionaryDetailMapper;
import top.zsyle.system.service.DictionaryDetailService;
import top.zsyle.system.service.DictionaryTypeService;

import java.util.List;

@Service
public class DictionaryDetailServiceImpl extends BaseServiceImpl<DictionaryDetail> implements DictionaryDetailService {

    @Autowired
    private DictionaryDetailMapper mapper;

    @Override
    public List<DictionaryDetail> findAllByTypeId(Long id) {

        return mapper.findAllByTypeId(id);
    }
}
